package com.wxd.springbootlogback.controller;

import org.slf4j.Logger;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import static org.slf4j.LoggerFactory.getLogger;

/**
 * @author wxd
 * @version V1.0
 * @description TestController
 * @date 2022/5/26 10:01
 **/
@RestController
public class HelloController {
    private static final Logger logger = getLogger(HelloController.class);

    @GetMapping("/hello")
    public void hello() {
        for (int i = 0; i < 100000; i++) {
            logger.info("hello wxd");
        }
    }
}
